package com.coollang.smartbra.model;

import java.util.List;

/**
 * @Auther: Timmy
 * @Data: 2017/7/14
 * @Fuction:
 */

public class ActionsAmountModel {


    /**
     * code : 200
     * message : success
     * data : [{"code":"11","name":"跑步","count":0,"percent":0.3},{"code":"21","name":"步行","count":0,"percent":0.3},{"code":"31","name":"深蹲","count":"5200","percent":1},{"code":"33","name":"仰卧起坐","count":0,"percent":0.3},{"code":"34","name":"卷腹","count":0,"percent":0.3},{"code":"35","name":"俯卧撑","count":"400","percent":"0.83"},{"code":"41","name":"平板支撑","count":0,"percent":0.3},{"code":"32","name":"深蹲跳","count":0,"percent":0.3}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * code : 11
         * name : 跑步
         * count : 0
         * percent : 0.3
         */

        private String code;
        private String name;
        private int count;
        private float percent;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public float getPercent() {
            return percent;
        }

        public void setPercent(float percent) {
            this.percent = percent;
        }
    }
}
